import config from "@/config"
import http from "@/utils/request"

export default {
	list: {
		url: `${config.API_URL}/refund/list`,
		get: async function(data,  config={}){
			return await http.get(this.url, data,  config);
		}
	},
	addExpress: {
		url: `${config.API_URL}/refund/add/express`,
		post: async function(data) {
			return await http.post(this.url, data);
		}
	},
	scanExpress: {
		url: `${config.API_URL}/refund/scan/express`,
		post: async function(data) {
			return await http.post(this.url, data);
		}
	},
	editExpress: {
		url: `${config.API_URL}/refund/edit/express`,
		post: async function(data) {
			return await http.post(this.url, data);
		}
	}
	
}